from flask import Blueprint, request, Flask, jsonify
import requests

class RpcUtils:
    URL = "http://127.0.0.1:8999/login"
    
    HEADERS = {
        "Content-Type": "application/json"
    }

    def rpc_request(user_name, password):
        data={
            "username": user_name,
            "password": password
        }

        return RpcUtils.URL,RpcUtils.HEADERS,data